<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<head>
	<sx:head extraLocales="en-us,nl-nl,de-de" />
</head>
<s:form method="post" action="showAnnouncementsManager.htm"
	namespace="/admin" theme="simple">
	<table width="100%">
		<tr>
			<td height="30" class="sectionheading bottom-border">
				Post New Announcement
			</td>
		</tr>
		<tr>
			<td>
				<s:actionerror />
			</td>
		</tr>
		<tr>
			<td height="8"></td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" align="center" cellpadding="2"
					cellspacing="2">
					<tr>
						<td align="right" class="verdana12blacknormal">
							Subject:&nbsp;
						</td>
						<td>
							<s:hidden name="announcement.id" />
							<s:textfield name="announcement.subject" label="Subject"
								cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr>
						<td align="right" class="verdana12blacknormal">
							Date (mm/dd/yyyy):&nbsp;
						</td>
						<td class="verdana12blacknormal">
							<sx:datetimepicker toggleType="wipe" toggleDuration="200"
								type="date" name="date" cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr>
						<td align="right" class="verdana12blacknormal">
							Time (hh:min):&nbsp;
						</td>
						<td class="verdana12Greybold">
							<sx:datetimepicker type="time" toggleType="wipe"
								toggleDuration="200" name="time" cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr>
						<td align="right" class="verdana12blacknormal">
							Email:&nbsp;
						</td>
						<td>
							<s:textfield name="announcement.email" label="Email"
								cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr>
						<td align="right" class="verdana12blacknormal">
							URL:&nbsp;
						</td>
						<td>
							<s:textfield name="announcement.url" label="URL"
								cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr>
						<td align="right" class="verdana12blacknormal">
							Name:&nbsp;
						</td>
						<td>
							<s:textfield name="announcement.name" label="Name"
								cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr>

						<td align="right" class="verdana12blacknormal">
							Message:(HTML allowed)&nbsp;
						</td>
						<td>
							<s:textarea name="announcement.message" rows="10" cols="60"
								label="Message:(HTML allowed)" cssClass="Textfiled-border" />
						</td>
					</tr>
					<tr align="center">
						<td colspan="2">
							<s:submit type="image" theme="simple"
								src="../Admin-Images/submit-btn.gif" />
							<img style="cursor: pointer;"
								onclick="document.getElementById('form').reset();"
								src="../Admin-Images/reset-button.gif" alt="Reset">
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</s:form>